#pragma once
#include <string>
#include "../SGD Wrappers/SGD_GraphicsManager.h"
class Tile
{
public:
	~Tile();

	short getLocX(void);
	void setLocX(short locationX);

	short getLocY(void);
	void setLocY(short locationY);

	unsigned char getLayer(void);
	void setLayer(unsigned char layer);

	unsigned short getTileID(void);
	void setTileID(unsigned short TileID);

	unsigned char getCollisionTriggerID(void);
	void setCollisionTriggerID(unsigned char CollisionTrigger);

	std::string getTriggerInit(void);
	void setTriggerInit(std::string TriggerInit);

	bool getIsCollidable(void);
	void setIsCollidable(bool isCollidable);
	Tile(short locX, short locY, unsigned char Layer, unsigned short ImageID,
		unsigned char CollisionTrigger, std::string triggerInit, bool IsCollidable);

	Tile();

	void Render();
	//SGD::Rectangle CellAlgorithm(int id) const;
private:

	SGD::HTexture m_hTileSet = SGD::INVALID_HANDLE;
	std::string m_szTriggerInit;

	short m_nLocationX;
	short m_nLocationY;
	unsigned short m_nTileImageID;
	unsigned char m_nLayer;
	unsigned char m_nTileCollisionTriggerID;
	bool m_nIsCollidable;


};